package com.zhongli.devplatform.service.imp.teacher;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhongli.devplatform.dto.teacher.ReadOperationDTO;
import com.zhongli.devplatform.po.teacher.ReadOperationPO;
import com.zhongli.devplatform.vo.teacher.OperationVO;
import com.zhongli.devplatform.vo.teacher.TeacherOperationVO;

import java.util.List;

/**
* @author  WuXiCheng
* @date  2020/7/23 10:12
* @version 1.0
*/
public interface ReadOperationService extends IService<ReadOperationPO>{
    List<OperationVO> getCurrentTeacherOperation(Integer currentUserId);

    void saveOpera(ReadOperationDTO operationDTO);

    /**
     * 作业定时任务  修改状态
     * @param id 作业id
     */
    void operationStatusUpdate(Integer id);

    List<TeacherOperationVO> getTeacherOperation(Integer currentUserId,Integer status);
}
